<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>FeatureVector</title>
    <meta name="keywords" content="util.FeatureVector,FeatureVector class" />
    <meta name="generator" content="SinjDoc 0.5" />
    <link href="../stylesheet.css" rel="stylesheet" type="text/css" />
    <link rel="Index" href="../index-all.html" />
    <link rel="Start" href="../overview-summary.html" />
    <link rel="Up" href="package-summary.html" />
    <link rel="Help" href="../help-doc.html" />
  </head>
  <body class="classPage bigframe">
   <div class="navbar">
    <p class="nav navtop">
      <span class="over"><a href="../overview-summary.html">Overview</a></span>
      <span class="package"><a href="package-summary.html">Package</a></span>
      <span class="class selected">Class</span>
      <span class="use"><a href="class-use/FeatureVector.html">Use</a></span>
      <span class="tree"><a href="package-tree.html">Tree</a></span>
      <span class="deprecated"><a href="../deprecated-list.html">Deprecated</a></span>
      <span class="index"><a href="../index-all.html">Index</a></span>
      <span class="help"><a href="../help-doc.html">Help</a></span>
    </p>
    <p class="nav navmid">
      <span class="prevnext">
       <span class="prev">Prev Class</span>
       <span class="next">Next Class</span>
      </span>
      <span class="framesel">
       <span class="frames"><a href="../index.html" target="_top">Frames</a></span>
       <span class="noframes"><a href="FeatureVector.html" target="_top">NoFrames</a></span>
      </span>
      <span class="allclasses"><a href="../allclasses-noframe.html">All Classes</a></span>
   </p>
   <p class="nav navbot">
      <span class="summary">Summary:
       <span class="nested">Nested</span>
       <span class="field">Field</span>
       <span class="constr"><a href="#constructor_summary">Constr</a></span>
       <span class="method"><a href="#method_summary">Method</a></span>
      </span>
      <span class="detail">Detail:
       <span class="field">Field</span>
       <span class="constr"><a href="#constructor_detail">Constr</a></span>
       <span class="method"><a href="#method_detail">Method</a></span>
      </span>
   </p>
    <div class="navtitle">
     
    </div>
    <p class="clear"><!--empty--></p>
   </div>
   <p class="packageName">util</p>
   <h1>  Class  FeatureVector</h1>
<!--
   <p class="enclosing">
   Enclosing class/interface: @OUTER@
   </p>
-->


   <!-- XXX class hierarchy diagram goes here -->
<!--
   
   <p class="directSubclasses">
   Direct known subclasses: @ALL_SUBCLASSES@
   </p>
-->


   <p class="declaration">public
     class 
   <span class="className">FeatureVector</span>
   
   
      
      <span class="extends">extends Object</span>
      
      
   
   </p>

   <div class="description">
   
   </div>





   <table class="constructor_summary summary">
     <tr><th colspan="2"><a name="constructor_summary" id="constructor_summary">Constructor Summary</a></th></tr>

     <tr><td> </td><td><span class="memberName"><a href="#FeatureVector()" class="constructorRef">FeatureVector</a>()</span><div class="memberDescription"></div></td></tr>



     <tr><td> </td><td><span class="memberName"><a href="#FeatureVector(util.FeatureVector)" class="constructorRef">FeatureVector</a>(<a href="FeatureVector.html" class="classRef">FeatureVector</a> f)</span><div class="memberDescription"></div></td></tr>



     <tr><td> </td><td><span class="memberName"><a href="#FeatureVector(double[],int)" class="constructorRef">FeatureVector</a>(double[] avg, int weightTotal)</span><div class="memberDescription"></div></td></tr>



     <tr><td> </td><td><span class="memberName"><a href="#FeatureVector(float)" class="constructorRef">FeatureVector</a>(float initialValue)</span><div class="memberDescription"></div></td></tr>

   </table>




   <table class="method_summary summary">
     <tr><th colspan="2"><a name="method_summary" id="method_summary">Method Summary</a></th></tr>

     <tr><td>  double</td><td><span class="memberName"><a href="#get(int)" class="methodRef">get</a>(int i)</span><div class="memberDescription"></div></td></tr>



     <tr><td>  int</td><td><span class="memberName"><a href="#getSize()" class="methodRef">getSize</a>()</span><div class="memberDescription"></div></td></tr>



     <tr><td>  int</td><td><span class="memberName"><a href="#getWeight()" class="methodRef">getWeight</a>()</span><div class="memberDescription"></div></td></tr>



     <tr><td>  void</td><td><span class="memberName"><a href="#set(int,double)" class="methodRef">set</a>(int i, double j)</span><div class="memberDescription"></div></td></tr>



     <tr><td>  void</td><td><span class="memberName"><a href="#setWeight(int)" class="methodRef">setWeight</a>(int inWeight)</span><div class="memberDescription"></div></td></tr>



     <tr><td>static  <a href="FeatureVector.html" class="classRef">FeatureVector</a></td><td><span class="memberName"><a href="#sum(util.FeatureVector[])" class="methodRef">sum</a>(<a href="FeatureVector.html" class="classRef">FeatureVector</a>[] fvs)</span><div class="memberDescription"></div></td></tr>



     <tr><td>  void</td><td><span class="memberName"><a href="#SanityCheck()" class="methodRef">SanityCheck</a>()</span><div class="memberDescription"></div></td></tr>

   </table>



<!--
   <p class="inherited">
    <span class="header">Methods inherited from class java.util.<a
   href="AbstractCollection.html">AbstractCollection</a></span>
    <a href="#addAll">addAll</a>
    <a href="#contains">contains</a>
   </p>
   <p class="inherited">
    <span class="header">Methods inherited from class java.lang.<a
   href="Object.html">Object</a></span>
    <a href="#addAll">clone</a>
    <a href="#contains">finalize</a>
   </p>
   <p class="inherited">
    <span class="header">Methods inherited from interface java.util.<a
   href="List.html">List</a></span>
    <a href="#addAll">addAll</a>
    <a href="#contains">contains</a>
   </p>
-->





   <h2><a name="constructor_detail" id="constructor_detail">Constructor Detail</a></h2>

   <h3><a name="FeatureVector()" id="FeatureVector()">FeatureVector</a></h3>
   <div class="memberName">public  FeatureVector()</div>
   <div class="memberDescription"></div>


   <h3><a name="FeatureVector(util.FeatureVector)" id="FeatureVector(util.FeatureVector)">FeatureVector</a></h3>
   <div class="memberName">public  FeatureVector(<a href="FeatureVector.html" class="classRef">FeatureVector</a> f)</div>
   <div class="memberDescription"></div>


   <h3><a name="FeatureVector(double[],int)" id="FeatureVector(double[],int)">FeatureVector</a></h3>
   <div class="memberName">public  FeatureVector(double[] avg, int weightTotal)</div>
   <div class="memberDescription"></div>


   <h3><a name="FeatureVector(float)" id="FeatureVector(float)">FeatureVector</a></h3>
   <div class="memberName">public  FeatureVector(float initialValue)</div>
   <div class="memberDescription"></div>




   <h2><a name="method_detail" id="method_detail">Method Detail</a></h2>

   <h3><a name="get(int)" id="get(int)">get</a></h3>
   <div class="memberName">public  double get(int i)</div>
   <div class="memberDescription"></div>


   <h3><a name="getSize()" id="getSize()">getSize</a></h3>
   <div class="memberName">public  int getSize()</div>
   <div class="memberDescription"></div>


   <h3><a name="getWeight()" id="getWeight()">getWeight</a></h3>
   <div class="memberName">public  int getWeight()</div>
   <div class="memberDescription"></div>


   <h3><a name="set(int,double)" id="set(int,double)">set</a></h3>
   <div class="memberName">public  void set(int i, double j)</div>
   <div class="memberDescription"></div>


   <h3><a name="setWeight(int)" id="setWeight(int)">setWeight</a></h3>
   <div class="memberName">public  void setWeight(int inWeight)</div>
   <div class="memberDescription"></div>


   <h3><a name="sum(util.FeatureVector[])" id="sum(util.FeatureVector[])">sum</a></h3>
   <div class="memberName">public static  <a href="FeatureVector.html" class="classRef">FeatureVector</a> sum(<a href="FeatureVector.html" class="classRef">FeatureVector</a>[] fvs)</div>
   <div class="memberDescription"></div>


   <h3><a name="SanityCheck()" id="SanityCheck()">SanityCheck</a></h3>
   <div class="memberName">public  void SanityCheck()</div>
   <div class="memberDescription"></div>

   
   <div class="navbar">
    <p class="nav navtop">
      <span class="over"><a href="../overview-summary.html">Overview</a></span>
      <span class="package"><a href="package-summary.html">Package</a></span>
      <span class="class selected">Class</span>
      <span class="use"><a href="class-use/FeatureVector.html">Use</a></span>
      <span class="tree"><a href="package-tree.html">Tree</a></span>
      <span class="deprecated"><a href="../deprecated-list.html">Deprecated</a></span>
      <span class="index"><a href="../index-all.html">Index</a></span>
      <span class="help"><a href="../help-doc.html">Help</a></span>
    </p>
    <p class="nav navmid">
      <span class="prevnext">
       <span class="prev">Prev Class</span>
       <span class="next">Next Class</span>
      </span>
      <span class="framesel">
       <span class="frames"><a href="../index.html" target="_top">Frames</a></span>
       <span class="noframes"><a href="FeatureVector.html" target="_top">NoFrames</a></span>
      </span>
      <span class="allclasses"><a href="../allclasses-noframe.html">All Classes</a></span>
   </p>
   <p class="nav navbot">
      <span class="summary">Summary:
       <span class="nested">Nested</span>
       <span class="field">Field</span>
       <span class="constr"><a href="#constructor_summary">Constr</a></span>
       <span class="method"><a href="#method_summary">Method</a></span>
      </span>
      <span class="detail">Detail:
       <span class="field">Field</span>
       <span class="constr"><a href="#constructor_detail">Constr</a></span>
       <span class="method"><a href="#method_detail">Method</a></span>
      </span>
   </p>
    <div class="navtitle">
     
    </div>
    <p class="clear"><!--empty--></p>
   </div>
   <div class="bottom"></div>
   </body>
</html>
